package com.ce.server.common;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 注册进spring管理
 * @DATE: 2021/11/21 10:44
 * @Author: 小爽帅到拖网速
 */
@ConfigurationProperties(prefix = "alioss")
@Component
@Data
public class OssEntity {

  private String endpoint;

  private String accessKeyId;

  private String accessKeySecret;

  private String bucketName;
}
